package baiqitun.stupro.common.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 前后端统一接口
 * @author kedaji
 * @param <E>
 */
@ApiModel("前后端统一数据交互格式")
@Data
public class Result<E> {

    @ApiModelProperty("数据")
    private E result;

    public Result() {

    }

    public Result(E result) {
        this.result = result;
    }
}
